package com.hulang.sms.sending.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.hulang.sms.sending.bean.SysParam;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface SysParamMapper extends BaseMapper<SysParam> {

    String tableName = "t_sys_param";

    @Select("select * from "+tableName+" where paramName = #{paramName}")
    SysParam getParamByName(String paramName);
}
